[INFO] cloning repository https://github.com/Amen-ellah-kerimi/secot-cli
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/Amen-ellah-kerimi/secot-cli" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAmen-ellah-kerimi%2Fsecot-cli", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAmen-ellah-kerimi%2Fsecot-cli'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] f2096f20882fa97734965bea16d422655f5d1851
[INFO] fixing Amen-ellah-kerimi/secot-cli against try#622891a4e29178280638a6b63a8908bde2c0c854+cargoflags=-Zfix-edition=start=2015 for pr-157817-2
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FAmen-ellah-kerimi%2Fsecot-cli" "/workspace/builds/worker-2-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-2-tc1/source'...
[INFO] [stderr] done.
[INFO] started tweaking git repo https://github.com/Amen-ellah-kerimi/secot-cli
[INFO] finished tweaking git repo https://github.com/Amen-ellah-kerimi/secot-cli
[INFO] tweaked toml for git repo https://github.com/Amen-ellah-kerimi/secot-cli written to /workspace/builds/worker-2-tc1/source/Cargo.toml
[INFO] validating manifest of git repo https://github.com/Amen-ellah-kerimi/secot-cli on toolchain 622891a4e29178280638a6b63a8908bde2c0c854
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] crate git repo https://github.com/Amen-ellah-kerimi/secot-cli already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded unescaper v0.1.6
[INFO] [stderr]   Downloaded serialport v4.7.1
[INFO] [stderr]   Downloaded libudev v0.3.0
[INFO] [stderr]   Downloaded rumqttc v0.24.0
[INFO] [stderr]   Downloaded clap v4.5.38
[INFO] [stderr]   Downloaded clap_builder v4.5.38
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/source:/opt/rustwide/workdir:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-2-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-m" "1610612736" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3a6becf2bc8dde7f3fa57ede90e4f284e72d296796fc446bbb1e2c7cc0530151" "sleep" "infinity", kill_on_drop: false }`
[INFO] [stdout] 1c01fab175cbbc4e82d5dfaaae2284535d3570dd6f49b8ea3d01331e3d4c59f4
[INFO] running `Command { std: "docker" "start" "1c01fab175cbbc4e82d5dfaaae2284535d3570dd6f49b8ea3d01331e3d4c59f4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-w" "/opt/rustwide/workdir" "--user" "0:0" "1c01fab175cbbc4e82d5dfaaae2284535d3570dd6f49b8ea3d01331e3d4c59f4" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "1c01fab175cbbc4e82d5dfaaae2284535d3570dd6f49b8ea3d01331e3d4c59f4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "exec" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=" "-e" "RUSTDOCFLAGS=" "-w" "/opt/rustwide/workdir" "--user" "0:0" "1c01fab175cbbc4e82d5dfaaae2284535d3570dd6f49b8ea3d01331e3d4c59f4" "/opt/rustwide/cargo-home/bin/cargo" "+622891a4e29178280638a6b63a8908bde2c0c854" "fix" "--allow-no-vcs" "--allow-dirty" "--frozen" "--all" "--all-targets" "--message-format=json" "-Zfix-edition=start=2015", kill_on_drop: false }`
[INFO] [stderr]    Compiling libc v0.2.172
[INFO] [stderr]     Checking scopeguard v1.2.0
[INFO] [stderr]    Compiling cc v1.2.22
[INFO] [stderr]     Checking futures-channel v0.3.31
[INFO] [stderr]    Compiling libudev-sys v0.1.4
[INFO] [stderr]    Compiling rustls v0.22.4
[INFO] [stderr]    Compiling syn v2.0.101
[INFO] [stderr]    Compiling portable-atomic v1.11.0
[INFO] [stderr]     Checking rustix v1.0.7
[INFO] [stderr]     Checking csv-core v0.1.12
[INFO] [stderr]     Checking rustls-native-certs v0.7.3
[INFO] [stderr]     Checking clap_builder v4.5.38
[INFO] [stderr]     Checking shell-words v1.1.0
[INFO] [stderr]     Checking encode_unicode v1.0.0
[INFO] [stderr]     Checking chrono v0.4.41
[INFO] [stderr]     Checking lock_api v0.4.12
[INFO] [stderr]     Checking spin v0.9.8
[INFO] [stderr]     Checking flume v0.11.1
[INFO] [stderr]    Compiling ring v0.17.14
[INFO] [stderr]     Checking getrandom v0.2.16
[INFO] [stderr]     Checking parking_lot_core v0.9.10
[INFO] [stderr]     Checking dirs-sys-next v0.1.2
[INFO] [stderr]     Checking signal-hook-registry v1.4.5
[INFO] [stderr]     Checking getrandom v0.3.3
[INFO] [stderr]     Checking mio v1.0.3
[INFO] [stderr]     Checking socket2 v0.5.9
[INFO] [stderr]     Checking console v0.15.11
[INFO] [stderr]     Checking is-terminal v0.4.16
[INFO] [stderr]     Checking nix v0.26.4
[INFO] [stderr]     Checking env_logger v0.10.2
[INFO] [stderr]     Checking libudev v0.3.0
[INFO] [stderr]     Checking tempfile v3.20.0
[INFO] [stderr]     Checking uuid v1.16.0
[INFO] [stderr]     Checking dirs-next v2.0.0
[INFO] [stderr]     Checking term v0.7.0
[INFO] [stderr]     Checking parking_lot v0.12.3
[INFO] [stderr]     Checking dialoguer v0.10.4
[INFO] [stderr]     Checking indicatif v0.17.11
[INFO] [stderr]    Compiling serde_derive v1.0.219
[INFO] [stderr]    Compiling futures-macro v0.3.31
[INFO] [stderr]    Compiling tokio-macros v2.5.0
[INFO] [stderr]    Compiling thiserror-impl v2.0.12
[INFO] [stderr]    Compiling thiserror-impl v1.0.69
[INFO] [stderr]    Compiling clap_derive v4.5.32
[INFO] [stderr]     Checking tokio v1.45.0
[INFO] [stderr]     Checking futures-util v0.3.31
[INFO] [stderr]     Checking thiserror v1.0.69
[INFO] [stderr]     Checking thiserror v2.0.12
[INFO] [stderr]     Checking unescaper v0.1.6
[INFO] [stderr]     Checking serialport v4.7.1
[INFO] [stderr]     Checking rustls-webpki v0.102.8
[INFO] [stderr]     Checking clap v4.5.38
[INFO] [stderr]     Checking serde v1.0.219
[INFO] [stderr]     Checking futures-executor v0.3.31
[INFO] [stderr]     Checking futures v0.3.31
[INFO] [stderr]     Checking tokio-rustls v0.25.0
[INFO] [stderr]     Checking rumqttc v0.24.0
[INFO] [stderr]     Checking csv v1.3.1
[INFO] [stderr]     Checking ipnetwork v0.20.0
[INFO] [stderr]     Checking serde_json v1.0.140
[INFO] [stderr]     Checking prettytable-rs v0.10.0
[INFO] [stderr]     Checking SECoT_CLI_Tool v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] warning: crate `SECoT_CLI_Tool` should have a snake case name
[INFO] [stdout]   |
[INFO] [stdout]   = help: convert the identifier to snake case: `seco_t_cli_tool`
[INFO] [stdout]   = note: `#[warn(non_snake_case)]` (part of `#[warn(nonstandard_style)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/serial/serial_connection.rs:190:43
[INFO] [stdout]     |
[INFO] [stdout] 190 |                         if let Some(tx) = LAST_RESPONSE_TX.take() {
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/serial/serial_connection.rs:190:43
[INFO] [stdout]     |
[INFO] [stdout] 190 |                         if let Some(tx) = LAST_RESPONSE_TX.take() {
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `CliError` is never used
[INFO] [stdout]  --> src/error.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub enum CliError {
[INFO] [stdout]   |          ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `CliResult` is never used
[INFO] [stdout]   --> src/error.rs:30:10
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub type CliResult<T> = Result<T, CliError>;
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `WiFiNetwork` is never constructed
[INFO] [stdout]   --> src/models.rs:72:16
[INFO] [stdout]    |
[INFO] [stdout] 72 |     pub struct WiFiNetwork {
[INFO] [stdout]    |                ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MqttClient` is never constructed
[INFO] [stdout]  --> src/mqtt/client.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct MqttClient {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `connect`, `subscribe`, `publish`, `disconnect`, and `get_client_id` are never used
[INFO] [stdout]   --> src/mqtt/client.rs:15:18
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl MqttClient {
[INFO] [stdout]    | --------------- associated items in this implementation
[INFO] [stdout] 15 |     pub async fn connect(broker: &MqttBroker, username: Option<&str>, password: Option<&str>) -> Result<Self> {
[INFO] [stdout]    |                  ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 58 |     pub async fn subscribe(&self, topic: &str) -> Result<()> {
[INFO] [stdout]    |                  ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 63 |     pub async fn publish(&self, topic: &str, message: &str) -> Result<()> {
[INFO] [stdout]    |                  ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 69 |     pub async fn disconnect(&self) -> Result<()> {
[INFO] [stdout]    |                  ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 74 |     pub fn get_client_id(&self) -> &str {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `send_mqtt_request` is never used
[INFO] [stdout]  --> src/mqtt/broker_utils.rs:8:14
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub async fn send_mqtt_request(topic: &str, payload: &Value) -> Result<Value> {
[INFO] [stdout]   |              ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `scan_mqtt_brokers` is never used
[INFO] [stdout]   --> src/mqtt/broker_utils.rs:36:14
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub async fn scan_mqtt_brokers(_network: &str) -> Result<Vec<(String, u16)>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_warning` is never used
[INFO] [stdout]   --> src/output/formatter.rs:35:8
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub fn print_warning(message: &str) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_command_result` is never used
[INFO] [stdout]   --> src/output/formatter.rs:50:8
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub fn print_command_result(command: &str, result: &str, success: bool) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/serial/serial_connection.rs:190:43
[INFO] [stdout]     |
[INFO] [stdout] 190 |                         if let Some(tx) = LAST_RESPONSE_TX.take() {
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: enum `CliError` is never used
[INFO] [stdout]  --> src/error.rs:4:10
[INFO] [stdout]   |
[INFO] [stdout] 4 | pub enum CliError {
[INFO] [stdout]   |          ^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(dead_code)]` (part of `#[warn(unused)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: type alias `CliResult` is never used
[INFO] [stdout]   --> src/error.rs:30:10
[INFO] [stdout]    |
[INFO] [stdout] 30 | pub type CliResult<T> = Result<T, CliError>;
[INFO] [stdout]    |          ^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `WiFiNetwork` is never constructed
[INFO] [stdout]   --> src/models.rs:72:16
[INFO] [stdout]    |
[INFO] [stdout] 72 |     pub struct WiFiNetwork {
[INFO] [stdout]    |                ^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: struct `MqttClient` is never constructed
[INFO] [stdout]  --> src/mqtt/client.rs:8:12
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub struct MqttClient {
[INFO] [stdout]   |            ^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: associated items `connect`, `subscribe`, `publish`, `disconnect`, and `get_client_id` are never used
[INFO] [stdout]   --> src/mqtt/client.rs:15:18
[INFO] [stdout]    |
[INFO] [stdout] 14 | impl MqttClient {
[INFO] [stdout]    | --------------- associated items in this implementation
[INFO] [stdout] 15 |     pub async fn connect(broker: &MqttBroker, username: Option<&str>, password: Option<&str>) -> Result<Self> {
[INFO] [stdout]    |                  ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 58 |     pub async fn subscribe(&self, topic: &str) -> Result<()> {
[INFO] [stdout]    |                  ^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 63 |     pub async fn publish(&self, topic: &str, message: &str) -> Result<()> {
[INFO] [stdout]    |                  ^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 69 |     pub async fn disconnect(&self) -> Result<()> {
[INFO] [stdout]    |                  ^^^^^^^^^^
[INFO] [stdout] ...
[INFO] [stdout] 74 |     pub fn get_client_id(&self) -> &str {
[INFO] [stdout]    |            ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `send_mqtt_request` is never used
[INFO] [stdout]  --> src/mqtt/broker_utils.rs:8:14
[INFO] [stdout]   |
[INFO] [stdout] 8 | pub async fn send_mqtt_request(topic: &str, payload: &Value) -> Result<Value> {
[INFO] [stdout]   |              ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `scan_mqtt_brokers` is never used
[INFO] [stdout]   --> src/mqtt/broker_utils.rs:36:14
[INFO] [stdout]    |
[INFO] [stdout] 36 | pub async fn scan_mqtt_brokers(_network: &str) -> Result<Vec<(String, u16)>> {
[INFO] [stdout]    |              ^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_warning` is never used
[INFO] [stdout]   --> src/output/formatter.rs:35:8
[INFO] [stdout]    |
[INFO] [stdout] 35 | pub fn print_warning(message: &str) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: function `print_command_result` is never used
[INFO] [stdout]   --> src/output/formatter.rs:50:8
[INFO] [stdout]    |
[INFO] [stdout] 50 | pub fn print_command_result(command: &str, result: &str, success: bool) {
[INFO] [stdout]    |        ^^^^^^^^^^^^^^^^^^^^
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: creating a mutable reference to mutable static
[INFO] [stdout]    --> src/serial/serial_connection.rs:190:43
[INFO] [stdout]     |
[INFO] [stdout] 190 |                         if let Some(tx) = LAST_RESPONSE_TX.take() {
[INFO] [stdout]     |                                           ^^^^^^^^^^^^^^^^^^^^^^^ mutable reference to mutable static
[INFO] [stdout]     |
[INFO] [stdout]     = note: mutable references to mutable statics are dangerous; it's undefined behavior if any other pointer to the static is used or if any other reference is created for the static while the mutable reference lives
[INFO] [stdout]     = note: for more information, see <https://doc.rust-lang.org/edition-guide/rust-2024/static-mut-references.html>
[INFO] [stdout]     = note: `#[warn(static_mut_refs)]` (part of `#[warn(rust_2024_compatibility)]`) on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Finished `dev` profile [unoptimized + debuginfo] target(s) in 31.50s
[INFO] [stderr] crater-edition-check: all finished
[INFO] running `Command { std: "docker" "inspect" "1c01fab175cbbc4e82d5dfaaae2284535d3570dd6f49b8ea3d01331e3d4c59f4", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "1c01fab175cbbc4e82d5dfaaae2284535d3570dd6f49b8ea3d01331e3d4c59f4", kill_on_drop: false }`
[INFO] [stdout] 1c01fab175cbbc4e82d5dfaaae2284535d3570dd6f49b8ea3d01331e3d4c59f4
